# 比较运算符

a = 10
b = 10
print(a == b)
print(id(a), id(b), a is b)

list1 = [11, 22, 33, 44]
list2 = [11, 22, 33, 44]
print(list1 == list2)
print(id(list1), id(list2), list1 is list2)

print(a == 10 and b == 3)
print(a == 3 or b == 10)

print("-------------------not 对运算符取反------------------")
f = True
print(not f)

print("-------------------in------------------")
print(10 in list1)

print('h' in 'helloworld')
